import request from '@/utils/request'

// 查询提现记录列表
export function listAxWithdrawal(query) {
  return request({
    url: '/ax/AxWithdrawal/list',
    method: 'get',
    params: query
  })
}

// 查询提现记录详细
export function getAxWithdrawal(id) {
  return request({
    url: '/ax/AxWithdrawal/' + id,
    method: 'get'
  })
}

// 新增提现记录
export function addAxWithdrawal(data) {
  return request({
    url: '/ax/AxWithdrawal',
    method: 'post',
    data: data
  })
}
//审核提现记录
export function auditAxWithdrawal(data) {
  return request({
    url: '/ax/AxWithdrawal/appaddAudit',
    method: 'post',
    data: data
  })
}
// 修改提现记录
export function updateAxWithdrawal(data) {
  return request({
    url: '/ax/AxWithdrawal',
    method: 'put',
    data: data
  })
}

// 删除提现记录
export function delAxWithdrawal(id) {
  return request({
    url: '/ax/AxWithdrawal/' + id,
    method: 'delete'
  })
}
